import request from '@/utils/request'

export function getAllCustomerList(params: any) {
  return request({
    url: '/Customer/AllCustomerList',
    method: 'get',
    params,
  })
}

export function getCustomerPickList(params: any) {
  return request({
    url: '/Customer/CustomerPickList',
    method: 'get',
    params,
  })
}

export function SearchCompanyName(data: any) {
  return request({
    url: '/customer/SearchCompanyName',
    method: 'post',
    data,
  })
}
export function AddCustomer(data: any) {
  return request({
    url: '/customer/AddCustomer',
    method: 'post',
    data,
  })
}

export function EditCustomer(data: any) {
  return request({
    url: '/customer/EditCustomer',
    method: 'post',
    data,
  })
}
